
extern "C" __declspec(dllexport) void CameraSN_BindTargetAndRotation(ICameraSceneNode* node, bool bound)
{
	node->bindTargetAndRotation(bound);
}

extern "C" __declspec(dllexport) float CameraSN_GetAspectRatio(ICameraSceneNode* node)
{
	return node->getAspectRatio();
}

extern "C" __declspec(dllexport) float CameraSN_GetFarValue(ICameraSceneNode* node)
{
	return node->getFarValue();
}

extern "C" __declspec(dllexport) float CameraSN_GetFOV(ICameraSceneNode* node)
{
	return node->getFOV();
}

extern "C" __declspec(dllexport) float CameraSN_GetNearValue(ICameraSceneNode* node)
{
	return node->getNearValue();
}

extern "C" __declspec(dllexport) void CameraSN_GetTarget(ICameraSceneNode* node, float *x, float *y, float *z)
{
	vector3df target = node->getTarget();
	x = &target.X;
	y = &target.Y;
	z = &target.Z;
}

extern "C" __declspec(dllexport) bool CameraSN_GetTargetAndRotationBinding(ICameraSceneNode* node)
{
	return node->getTargetAndRotationBinding();
}

extern "C" __declspec(dllexport) void CameraSN_GetUpVector(ICameraSceneNode* node, float *x, float *y, float *z)
{
	vector3df target = node->getUpVector();
	x = &target.X;
	y = &target.Y;
	z = &target.Z;
}

extern "C" __declspec(dllexport) bool CameraSN_IsInputRecieverEnabled(ICameraSceneNode* node)
{
	return node->isInputReceiverEnabled();
}

extern "C" __declspec(dllexport) bool CameraSN_IsOrthogonal(ICameraSceneNode* node)
{
	return node->isOrthogonal();
}

extern "C" __declspec(dllexport) void CameraSN_SetAspectRatio(ICameraSceneNode* node, float aspect)
{
	node->setAspectRatio(aspect);
}

extern "C" __declspec(dllexport) void CameraSN_SetFarValue(ICameraSceneNode* node, float farValue)
{
	node->setFarValue(farValue);
}

extern "C" __declspec(dllexport) void CameraSN_SetFOV(ICameraSceneNode* node, float fov)
{
	node->setFOV(fov);
}

extern "C" __declspec(dllexport) void CameraSN_SetInputRecieverEnabled(ICameraSceneNode* node, bool enabled)
{
	node->setInputReceiverEnabled(enabled);
}

extern "C" __declspec(dllexport) void CameraSN_SetNearValue(ICameraSceneNode* node, float nearvalue)
{
	node->setNearValue(nearvalue);
}

extern "C" __declspec(dllexport) void CameraSN_SetRotation(ICameraSceneNode* node, float x, float y, float z)
{
	node->setTarget(vector3df(x, y, z));
}

extern "C" __declspec(dllexport) void CameraSN_SetUpVector(ICameraSceneNode* node, float x, float y, float z)
{
	node->setUpVector(vector3df(x, y, z));
}